﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ConferenceRegister.Domain;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;

namespace ConferenceRegister.Models
{
    public class SearchModel
    {
        public int? ID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public int? Phone { get; set; }
        public int? Zip { get; set; }
    }

    public class AdminModel
    {
        public int SelectedConferenceID { get; set; }
        public Conference SelectedConference { get; set; }
        public SelectList Conferences { get; set; }
        public SearchModel Search { get; set; }
        public List<Register> Matches { get; set; }
    }
}